package com.ht.managermentserver.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ht.managermentserver.entity.SysDic;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 字典集合 Mapper 接口
 *
 * @author czy
 * @since 2020-06-04
 */

public interface SysDicMapper extends BaseMapper<SysDic> {
  /**
   * 查询带有 字典类型name 字段
   * @param page page
   * @param wrapper 查询构造
   * @return IPage
   */
  IPage<SysDic> getSysDicByPage(Page<SysDic> page, @Param("ew") Wrapper<SysDic> wrapper);
}
